package com.wanlink.mall.http.api;


import com.wanlink.mall.app.model.AddCartInfo;
import com.wanlink.mall.app.model.BaseModel;

import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;
import io.reactivex.Observable;


public interface AddCart {

    @POST("order/cart/add")
    Observable<BaseModel<AddCartInfo>> recvAddCart(@Header("Authorization") String authorization, @Query("itemId") String itemId, @Query("amount") int amount, @Query("specConfigId") String specConfigId, @Query("inviteCode") String inviteCode);
}
